package com.zqx.pojo;

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * UserbmvId entity. @author MyEclipse Persistence Tools
 */
@Entity
public class Userbmv implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private long yhid;
	private String yhbh;
	private String yhxm;
	private String xb;
	private Date csrq;
	private String sfz;
	private Date zcrq;
	private String zcr;
	private String zt;
	private String bmmc;
	private long r;

	// Constructors

	

	// Property accessors

	@Column(name = "YHID", nullable = false, length = 32)
	public long getYhid() {
		return this.yhid;
	}

	public void setYhid(long yhid) {
		this.yhid = yhid;
	}

	@Column(name = "YHBH", length = 32)
	public String getYhbh() {
		return this.yhbh;
	}

	public void setYhbh(String yhbh) {
		this.yhbh = yhbh;
	}

	@Column(name = "YHXM", length = 50)
	public String getYhxm() {
		return this.yhxm;
	}

	public void setYhxm(String yhxm) {
		this.yhxm = yhxm;
	}

	@Column(name = "XB", length = 1)
	public String getXb() {
		return this.xb;
	}

	public void setXb(String xb) {
		this.xb = xb;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "CSRQ", length = 7)
	public Date getCsrq() {
		return this.csrq;
	}

	public void setCsrq(Date csrq) {
		this.csrq = csrq;
	}

	@Column(name = "SFZ", length = 20)
	public String getSfz() {
		return this.sfz;
	}

	public void setSfz(String sfz) {
		this.sfz = sfz;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "ZCRQ", length = 7)
	public Date getZcrq() {
		return this.zcrq;
	}

	public void setZcrq(Date zcrq) {
		this.zcrq = zcrq;
	}

	@Column(name = "ZCR", length = 32)
	public String getZcr() {
		return this.zcr;
	}

	public void setZcr(String zcr) {
		this.zcr = zcr;
	}

	@Column(name = "ZT", length = 1)
	public String getZt() {
		return this.zt;
	}

	public void setZt(String zt) {
		this.zt = zt;
	}

	@Column(name = "BMMC", length = 32)
	public String getBmmc() {
		return this.bmmc;
	}

	public void setBmmc(String bmmc) {
		this.bmmc = bmmc;
	}

	@Id
	@Column(name = "R", precision = 22, scale = 0)
	public long getR() {
		return this.r;
	}

	public void setR(long r) {
		this.r = r;
	}

}